# $OpenBSD$

COMMENT =	M17N engine for IBus input system

GH_ACCOUNT =	ibus
GH_PROJECT =	ibus-m17n
GH_TAGNAME =	1.4.8

CATEGORIES =	inputmethods

MAINTAINER =	Adnan Shameem <adnan360@protonmail.com>

# GNU General Public License v2.0
PERMIT_PACKAGE =	Yes

BUILD_DEPENDS =	misc/m17n/db \
				devel/gettext,-tools
LIB_DEPENDS =	inputmethods/ibus \
				misc/m17n/lib \
				x11/gtk+2
RUN_DEPENDS =	devel/desktop-file-utils \
				x11/gtk+3,-guic

WANTLIB += ${COMPILER_LIBCXX} X11 Xcomposite Xcursor Xdamage Xext
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat
WANTLIB += ffi fontconfig freetype fribidi gdk_pixbuf-2.0 gio-2.0
WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 graphite2 harfbuzz
WANTLIB += ibus-1.0 iconv intl jpeg lzma m m17n m17n-core pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png xcb xcb-render
WANTLIB += xcb-shm xml2 z gdk-x11-2.0 gtk-x11-2.0

CONFIGURE_STYLE =	autoreconf

AUTOCONF_VERSION =	2.71
AUTOMAKE_VERSION =	1.16

MODULES =	devel/dconf

USE_GMAKE =	Yes

NO_TEST =	Yes

.include <bsd.port.mk>
